Creates a new sales data record for each call. Requires the following arguments

  • Amount
  • Attributed to - orgId for an organisation, or email or userid for a profile
  • From - date/time for the beginning of the period
  • To - date/time for the end of the period. Same as from if the data is for a single point in time
And any extra fields defined on the dataseries The columns list maps fields onto column numbers. The standard fields are: amount, attributedTo, fromDate, toDate


Properties

Name Returns Notes Example
seriesName String
columns List
mode String Can be insert, insertOrUpdate or update

Ask a question, or offer an answer